import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';

const routes: Routes = [
  {
    path: '',
    loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
  },
  {
    path: 'login',
    loadChildren: () => import('./login/login.module').then( m => m.LoginPageModule)
  },
  {
    path: 'wangmi',
    loadChildren: () => import('./wangmi/wangmi.module').then( m => m.WangmiPageModule)
  },
  {
    path: 'wangmi1',
    loadChildren: () => import('./wangmi1/wangmi1.module').then( m => m.Wangmi1PageModule)
  },
  {
    path: 'wangmi-t',
    loadChildren: () => import('./wangmi-t/wangmi-t.module').then( m => m.WangmiTPageModule)
  },
  {
    path: 'wangmi-p',
    loadChildren: () => import('./wangmi-p/wangmi-p.module').then( m => m.WangmiPPageModule)
  },
  {
    path: 'gaimi1',
    loadChildren: () => import('./gaimi1/gaimi1.module').then( m => m.Gaimi1PageModule)
  },
  {
    path: 'zhuce',
    loadChildren: () => import('./zhuce/zhuce.module').then( m => m.ZhucePageModule)
  },
  {
    path: 'zhuce1',
    loadChildren: () => import('./zhuce1/zhuce1.module').then( m => m.Zhuce1PageModule)
  },
  {
    path: 'zhuce-pro',
    loadChildren: () => import('./zhuce-pro/zhuce-pro.module').then( m => m.ZhuceProPageModule)
  },
  {
    path: 'zhuce-sex',
    loadChildren: () => import('./zhuce-sex/zhuce-sex.module').then( m => m.ZhuceSexPageModule)
  },
 
];
@NgModule({
  imports: [
    RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
  ],
  exports: [RouterModule]
})
export class AppRoutingModule {}
